import BaseTemplate from "@/components/layout/BaseTemplate.vue";

export default [
  {
    path: "/device",
    name: "deviceTemplate",
    component: BaseTemplate,
    children: [
      {
        path: "equipment-category",
        name: "equipmentCategory",
        component: () =>
          import(
            /* webpackChunkName: "equipmentCategory" */ "@/views/device/BasicCategoryEquipment.vue"
          ),
        meta: {
          title: "设备类别",
        },
      },
      {
        path: "equipment",
        name: "equipment",
        component: () =>
          import(
            /* webpackChunkName: "equipment" */ "@/views/device/Equipment.vue"
          ),
        meta: {
          title: "设备",
        },
      },
      {
        path: "device-up-keep",
        name: "deviceUpKeep",
        component: () =>
          import(
            /* webpackChunkName: "deviceUpKeep" */ "@/views/device/DeviceUpKeep.vue"
          ),
        meta: {
          title: "设备保养",
        },
      },
      {
        path: "device-repair",
        name: "deviceRepair",
        component: () =>
          import(
            /* webpackChunkName: "deviceRepair" */ "@/views/device/DeviceRepair.vue"
          ),
        meta: {
          title: "设备报修",
        },
      },
      {
        path: "device-maintenance",
        name: "deviceMaintenance",
        component: () =>
          import(
            /* webpackChunkName: "deviceMaintenance" */ "@/views/device/DeviceMaintenance.vue"
          ),
        meta: {
          title: "设备维修",
        },
      },
      {
        path: "device-spot-check",
        name: "DeviceSpotCheck",
        component: () =>
          import(
            /* webpackChunkName: "DeviceSpotCheck" */ "@/views/device/DeviceSpotCheckReceipt.vue"
          ),
        meta: {
          title: "设备点检",
        },
      },
    ],
  },
];
